<template>
  <div class="rebo">
    <div class="head">
      <p>综艺</p>
      <div>
        <p>更多 <span class="iconfont icon-youjiantou"></span></p>
      </div>
    </div>
    <div class="conter">
      <div class="reitem1">
        <ul>
          <li v-for="(item, index) in reimg" :key="index">
            <img :src="item.img" alt="" />
            <p>{{ item.p }}</p>
            <span>{{ item.sp }}</span>
          </li>
        </ul>
      </div>
      <div class="reitem2">
        <img src="../../../../assets/img/body/zongyi/zongyi7.png" alt="" />
      </div>
    </div>
    <div class="conter marin">
      <div class="reitem1">
        <ul>
          <li v-for="(item, index) in zimg" :key="index">
            <img :src="item.img" alt="" />
            <p>{{ item.p }}</p>
            <span>{{ item.sp }}</span>
          </li>
        </ul>
      </div>
      <div class="reitem2">
        <img src="../../../../assets/img/body/zongyi/zongyi8.png" alt="" />
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      reimg: [
        {
          img: require("../../../../assets/img/body/rebo/rebo0.png"),
          p: "舞千年",
          sp: "终于有仙女看了",
        },
        {
          img: require("../../../../assets/img/body/zongyi/zongyi0.jpg"),
          p: "动物圈的问号脸2",
          sp: "惊！猫咪“霸凌”成灾>>",
        },
        {
          img: require("../../../../assets/img/body/zongyi/zongyi1.png"),
          p: "屋檐之夏",
          sp: "小精灵给爷爷奶奶表演说唱",
        },
        {
          img: require("../../../../assets/img/body/zongyi/zongyi2.jpg"),
          p: "朗读者第三季",
          sp: "神十三乘组太空朗读",
        },
        {
          img: require("../../../../assets/img/body/zongyi/zongyi3.jpg"),
          p: "国家宝藏·展演季",
          sp: "国立老师您别躲",
        },
      ],
      zimg: [
        {
          img: require("../../../../assets/img/body/zongyi/zongyi4.jpg"),
          p: "最美中国戏",
          sp: "当猛男落下热泪",
        },
        {
          img: require("../../../../assets/img/body/zongyi/zong0.png"),
          p: "2060",
          sp: "诸葛丞相来啦！",
        },
        {
          img: require("../../../../assets/img/body/zongyi/zongyi5.png"),
          p: "我的音乐你听吗",
          sp: "召集人公开课开课啦！",
        },
        {
          img: require("../../../../assets/img/body/zongyi/zongyi6.jpg"),
          p: "90婚介所",
          sp: "当甜妹来相亲……",
        },
        {
          img: require("../../../../assets/img/body/zongyi/zong1.png"),
          p: "哔计划",
          sp: "笑不活！斑鸠看网友评论",
        },
      ],
    };
  },
};
</script>

<style lang="scss" scoped>
.rebo {
  width: 100%;
  height: 342px;
  // background-color: violet;
  margin: auto;
  margin-top: 20px;
  .head {
    width: 100%;
    height: 36px;
    // background-color: yellow;
    font-size: 24px;
    display: flex;
    justify-content: space-between;
    div {
      margin-right: 280px;
      margin-top: 10px;
      text-align: center;
      p {
        font-size: 12px;
        border: 1px solid #ccd0d7;
        padding: 4px 6px;
        // background-color: wheat;
        border-radius: 5px;
        span {
          transition: all 1s;
          font-size: 10px;
          color: #999;
        }
      }
      p:hover {
        background-color: #ccd0d7;
        cursor: pointer;
      }
      p:hover > span {
        padding-left: 4px;
      }
    }
  }
  .conter {
    width: 100%;
    height: 150px;
    margin-top: 6px;
    // background-color: lime;
    display: flex;
    .reitem1 {
      width: 900px;
      // background-color: aliceblue;
      ul {
        width: 100%;
        height: 100%;
        li {
          float: left;
          margin-right: 20px;
          width: 160px;
          height: 150px;
          // background-color: lime;
          font-size: 12px;
          img {
            width: 100%;
            height: 100px;
            border-radius: 5px;
          }
          p {
            margin: 4px 0px;
          }
          span {
            color: #99a2aa;
          }
        }
        li:hover > p {
          color: #00a1d6;
          cursor: pointer;
        }
      }
    }
    .reitem2 {
      width: 260px;
      // background-color: red;
      img {
        width: 100%;
        height: 100%;
        border-radius: 5px;
      }
    }
  }
  .marin {
    margin-top: 20px;
  }
}
</style>